﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ClsController;
using ClsUtilities;

namespace Pro_Care_System
{
    public partial class Form1 : Form
    {
        private ClsLogicaNeg logica;

        public Form1()
        {
            InitializeComponent();
            logica = new ClsLogicaNeg();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //logica.CargarComboBox(TableStruct.TblInfo.AGENCY, TableStruct.AGENCY.AG_COD_AGENCY.ToString(), TableStruct.AGENCY.AG_NAME.ToString(), comboBox1);
            TextBox txt = new TextBox();
            txt.Text = "br";
            logica.LoginApp(textBox1, textBox2);
            logica.CargarPacietnes(txt, comboBox1);
            logica.CargarPacietnes(null, dataGridView1);
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
        {

        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
 
    }
}
